package com.dup.jxlh.admin.entities.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.dup.jxlh.admin.validator.ChapterApplyId;

import java.io.Serializable;
import java.math.BigInteger;

public class ChapterAttach implements Serializable {
    @TableId(type = IdType.AUTO)
    private BigInteger id;
    @ChapterApplyId
    private BigInteger chapterApplyId;
    private String name;
    private String url;

    public BigInteger getId() {
        return id;
    }

    public void setId(BigInteger id) {
        this.id = id;
    }

    public BigInteger getChapterApplyId() {
        return chapterApplyId;
    }

    public void setChapterApplyId(BigInteger chapterApplyId) {
        this.chapterApplyId = chapterApplyId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
}
